import Layout from '@/page/index/'

export default [{
		path: '/login',
		name: '登录页',
		component: () =>
			import( /* webpackChunkName: "page" */ '@/page/login/index'),
		meta: {
			keepAlive: true,
			isTab: false,
			isAuth: false
		}
	},
	{
		path: '/lock',
		name: '锁屏页',
		component: () =>
			import( /* webpackChunkName: "page" */ '@/page/lock/index'),
		meta: {
			keepAlive: true,
			isTab: false,
			isAuth: false
		}
	},
	{
		path: '/404',
		component: () =>
			import( /* webpackChunkName: "page" */ '@/components/error-page/404'),
		name: '404',
		meta: {
			keepAlive: true,
			isTab: false,
			isAuth: false
		}

	},
	{
		path: '/403',
		component: () =>
			import( /* webpackChunkName: "page" */ '@/components/error-page/403'),
		name: '403',
		meta: {
			keepAlive: true,
			isTab: false,
			isAuth: false
		}
	},
	{
		path: '/500',
		component: () =>
			import( /* webpackChunkName: "page" */ '@/components/error-page/500'),
		name: '500',
		meta: {
			keepAlive: true,
			isTab: false,
			isAuth: false
		}
	},
	{
		path: '/bigScreen',
        component: () =>import('@/views/bigScreen/false'),
		name: '4.0静态大屏',
		meta: {
			keepAlive: true,
			isTab: false,
			isAuth: false
		}
	},
	{
		path: '/bigScreen_water',
		component: () =>import('@/views/bigScreen/water'),
		name: '4.0动态大屏水专题',
		meta: {
			keepAlive: true,
			isTab: false,
			isAuth: false
		}
	},
	{
		path: '/bigScreen_gas',
		component: () =>import('@/views/bigScreen/gas'),
		name: '4.0动态大屏气专题',
		meta: {
			keepAlive: true,
			isTab: false,
			isAuth: false
		}
	},
	{
		path: '/bigScreen_true',
		component: () =>import('@/views/bigScreen/index'),
		name: '4.0动态大屏首页',
		meta: {
			keepAlive: true,
			isTab: false,
			isAuth: false
		}
	},	
	{
		path: '/',
		name: '主页',
		redirect: '/wel'
	},
	{
		path: '/myiframe',
		component: Layout,
		redirect: '/myiframe',
		children: [{
			path: ":routerPath",
			name: 'iframe',
			component: () =>
				import( /* webpackChunkName: "page" */ '@/components/iframe/main'),
			props: true
		}]
	},
	{
		path: '*',
		redirect: '/login'
	}
]